GtkPathBar: Don't hardcode spacing in buttons
authorMatthias Clasen <mclasen@redhat.com>
Wed, 13 Aug 2014 13:31:34 +0000 (09:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 13 Aug 2014 13:31:34 +0000 (09:31 -0400)
The theme will be changed to provide padding.

gtk/gtkpathbar.c

index 1a1c2b21f09e416a7cba9ceecc4a9ee30f1673a5..251f34ffd119f348d2af840ee31095bd90fa75f9 100644 (file)
@@ -1630,7 +1630,7 @@ make_directory_button (GtkPathBar  *path_bar,
     case DESKTOP_BUTTON:
       button_data->image = gtk_image_new ();
       button_data->label = gtk_label_new (NULL);
-      child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
+      child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
       gtk_box_pack_start (GTK_BOX (child), button_data->image, FALSE, FALSE, 0);
       gtk_box_pack_start (GTK_BOX (child), button_data->label, FALSE, FALSE, 0);
       break;